import Vue from 'vue'
import App from './App'
import tabBar from "@/components/tabBar.vue"
import httpRequest from './common/wxHttpRequest.js'
import httpConfig from './common/config/httpConfig.js'

import store from './store/index.js'
import utils from './common/utils.js'
import navSkin from './common/navSkin.js'
import toast from './common/toast.js'
Vue.component('tabBar', tabBar)
Vue.prototype.$toast = toast
Vue.config.productionTip = false

Vue.prototype.$httpRequest = httpRequest
Vue.prototype.$httpConfig = httpConfig
Vue.prototype.$utils = utils
Vue.prototype.$navSkin = navSkin
Vue.prototype.$store = store
const $x = {}
Vue.prototype.$x = $x
let mpShare = require('./util/mapShare.js')
Vue.mixin(mpShare)
App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount()